package com.bean.dangBean;
/**
 * 超市余额表实体类
 */

import java.io.Serializable;
import java.util.Date;

public class Balance implements Serializable {

    /*编号*/
    private Integer id;
    /*超市余额*/
    private Double balance;
    /*时间*/
    private Date time;


    public Balance(Integer id, Double balance) {
        this.id = id;
        this.balance = balance;
    }

    public Balance() {
    }

    public Balance(Double balance, Date time) {
        this.balance = balance;
        this.time = time;
    }

    public Balance(Integer id, Double balance, Date time) {
        this.id = id;
        this.balance = balance;
        this.time = time;
    }

    @Override
    public String toString() {
        return "Balance{" +
                "id=" + id +
                ", balance=" + balance +
                ", time=" + time +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
